//投票选举
<template>
	<view class="box">
		<view class="main">
			<view class="headpart">
				<view class="title">
					2024年度董事会成员选举
				</view>
				<view class="time">
					投票开始时间：2024年3月15日 18:00
				</view>
				<view class="time">
					投票截止时间：2024年3月15日 18:00
				</view>
			</view>
			<view class="tppart">
				<view class="tpone" v-for="(item,index) in tpList" :key="index">
					<img style="width: 96rpx;height: 96rpx; border-radius: 50%;" :src="item.img" alt="" />
					<view class="rightpart">
						<view class="name">
							{{item.name}}
						</view>
						<view class="class">
							
						</view>
					</view>
				</view>
			</view>
		</view>
		<view class="buts">

		</view>
	</view>
</template>

<script setup>
	import {
		onMounted,
		ref
	} from 'vue';
	
	const tpList = ref([
		{
			img: '/static/img/grxx.png',
			name: '陈志远',
			class: '现任财务总监',
		}
	])
</script>

<style scoped lang="scss">
	.box {
		width: 100%;
		height: 100vh;
		background-color: #F9FAFB;

		.main {
			width: 100%;
			height: 90vh;
			display: grid;
			justify-items: center;
			align-content: start;

			.headpart {
				width: 86%;
				height: 194rpx;
				border-radius: 24rpx;
				background-color: #EFF6FF;
				margin-top: 32rpx;
				padding: 20rpx 3%;

				.title {
					color: #2563EB;
					font-size: 28rpx;
					margin-top: 16rpx;
				}

				.time {
					margin-top: 16rpx;
					color: #4B5563;
					font-size: 28rpx;
				}
			}

			.tppart {
				margin-top: 32rpx;
				width: 100%;
				max-height: 60vh;
				overflow-y: auto;
				display: grid;
				justify-items: center;

				.tpone {
					width: 84%;
					height: 264rpx;
					padding: 20rpx 4%;
					border-radius: 24rpx;
					background-color: #FFFFFF;
					border: 2rpx solid #F3F4F6;
					box-shadow: 5rpx 5rpx 3rpx 0 rgba(212, 212, 212, 0.7);
					.rightpart {
						margin-left: 40rpx;
						.name {
							
						}
					}
				}
			}
		}

		.buts {
			width: 100%;
			height: 10vh;
			background-color: F3F4F6;
			position: fixed;
			bottom: 0;
			border-top: 2rpx solid #ebebec;
		}
	}
</style>